#ifndef SamplerUniform_h

#include "Sampler.h"

class SamplerUniform : public Sampler {
	public:
		SamplerUniform(int num_samples, FilterType ftype);
		~SamplerUniform();
		void offsetRay(Ray& ray, int sample_num, double dx, double dy);
		void applyFilter(Color* sample_colors, double* offsets_x, double* offsets_y) const;
		
	private:
		double border;
		double delta;
		double max_x_change;
		double max_y_change;
		int total_samples;
};

#endif